//public class Student {
//    public double area(Geometry...p){
//        double sum = 0;
//        for(int i = 0; i < p.length; i++){
//            sum = sum + p[i].getArea();
//        }
//        return sum;
//    }
//}

class Student {
    private int s_No;
    private String s_Name;
    private int s_Age;

    Student(int no, String name, int age)
    {
        s_No = no;
        s_Name = name;
        s_Age = age;
    }

    void showInfo()
    {
        System.out.println("学号: " + s_No + " 姓名: " + s_Name + " 年龄: " +s_Age);
    }

    void modifyAge(int newAge)
    {
        s_Age = newAge;
    }
}